package top.dfghhj.anhanx.oauth.dao.impl;

import org.springframework.stereotype.Repository;
import top.dfghhj.anhanx.oauth.dao.SysMenuDao;
import top.dfghhj.anhanx.oauth.entity.DO.SysMenu;
import top.dfghhj.anhanx.oauth.mapper.SysMenuMapper;

import javax.annotation.Resource;

@Repository
public class SysMenuDaoImpl implements SysMenuDao {

    @Resource
    private SysMenuMapper sysMenuMapper;


    @Override
    public SysMenu findById(Long menuId) {
        return sysMenuMapper.findById(menuId);
    }
}
